package com.totcy.baselibrary.utils;

import android.os.Environment;

/**
 * description : $todo
 *
 * @author : Totcy
 * @date : 2018/1/26 15:37
 * @update : 2018/1/26
 */

public class FileUtil {

    /**
     * 是否有外置存储卡
     * @return
     */
    public static boolean isExternalStorageEnable() {
        return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED);
    }
}
